<?php load_header() ?>
<section id="about">
    <div class="container-fluid">
        <?php if ($service_list->num_rows()): ?>
        <div class="section-heading scrollpoint sp-effect3" style="">
            <h1><?php echo $package_info->row()->package_name; ?></h1>
            <div class="divider"></div>
            <div class="container-fluid">
                <?php echo anchor('', 'Book Now', 'class="btn btn-primary btn-lg"'); ?>
                <?php echo anchor('', 'Still have question?', 'class="btn btn-primary btn-lg"'); ?>
            </div>
            <div style="margin: 30px auto; max-width: 600px">

                <table class="table table-bordered text-center">
                    <thead>
                        <tr>
                            <th>Service Name</th>
                            <th>Supply by</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($service_list->result() as $row): ?>
                        <tr>
                            <td><?php echo $row->service_name; ?></td>
                            <td><?php echo ucfirst($row->firstname) . ' '. ucfirst($row->lastname); ?></td>
                        </tr>
                        <?php endforeach ?>
                    </tbody>
                </table>
            </div>
            <?php else: ?>
            <div class="section-heading scrollpoint sp-effect3">
                <h1>Sorry, package is not published</h1>
            </div>
            <?php endif; ?>
        </div>
    </div>
</section>
<?php load_content_footer() ?>
<?php #this page is closed by this footter ?>
<?php load_footer() ?>
